package com.abe.mvp.model.bean.http;

import com.google.gson.annotations.Expose;

public class HttpBean<T> {

	@Expose
	private int success;
	@Expose
	private T data;

	@Expose
	private String message;

	public int getSuccess() {
		return success;
	}

	public void setSuccess(int success) {
		this.success = success;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	@Override
	public String toString(){
		StringBuilder builder=new StringBuilder();
		builder.append("success=").append(success).append("\n");
		builder.append("data=").append(data.toString()).append("\n");
		builder.append("message=").append(message).append("\n");
		return builder.toString();
		
	}
}
